
using System.Collections.Generic;
using Nop.Core.Domain.Common;

namespace Nop.Services.Common
{
    /// <summary>
    /// Message service
    /// </summary>
    public partial interface IMessageService
    {
        /// <summary>
        /// Gets all Messages
        /// </summary>
        /// <returns>Message</returns>
        IList<Message> GetAllMessages();

        /// <summary>
        /// Gets a Message 
        /// </summary>
        /// <param name="messageId">Message identifier</param>
        /// <returns>Message</returns>
        Message GetMessageById(int messageId);

        /// <summary>
        /// Inserts a Message
        /// </summary>
        /// <param name="message">Message</param>
        void InsertMessage(Message message);

        /// <summary>
        /// Updates the Message
        /// </summary>
        /// <param name="message">Message</param>
        void UpdateMessage(Message message);

        /// <summary>
        /// Deletes a Message
        /// </summary>
        /// <param name="Message">Message</param>
        void DeleteMessage(Message message);
    }
}

